<%@ page language="java" pageEncoding="UTF-8"%>

<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<fmt:setBundle basename="META-INF.message" var="message" />

<html>
<head>
<c:set var="m_description" value="这里有憋咕公开发表的全部文章和笔记，希望您感兴趣" />
<%@ include file="/jsp/inc/header.jsp"%>
<title><fmt:message key="webnote_all" bundle="${message}" /></title>
</head>

<body bgcolor="#E0E0E0">
	<%@ include file="/jsp/inc/navbar.jsp"%>
	<div class="sdiv">
		<ul style="list-style: disc; margin-left: 15px;">
			<c:forEach items="${webNotes}" var="webNote">
				<c:if test='${webNote.id==-1}'>
					<li>${webNote.name}</li>
				</c:if>
				<ul style="list-style: square;">
					<c:if test='${webNote.id!=-1}'>
						<li><a href="/show/article/${webNote.alias}">${webNote.name}</a>&nbsp;(${webNote.hots})&nbsp;&nbsp;&nbsp;
							<fmt:formatDate value="${webNote.createTime}"
								pattern="yyyy年MM月dd日" var="wdate" />${wdate}</li>
					</c:if>
				</ul>
			</c:forEach>
		</ul>
	</div>
	<%@ include file="/jsp/inc/footer.jsp"%>
</body>
</html>